package com.daniu.ssmdemo.pojo;

import java.io.Serializable;
import java.util.Date;

public class Account  implements Serializable {

    private String cardno;
    private Double balance;
    private Date opendate;
    private String name;

    public Account() {
    }

    public String getCardno() {
        return cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Date getOpendate() {
        return opendate;
    }

    public void setOpendate(Date opendate) {
        this.opendate = opendate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "银行账号信息 {" +
                "cardno='" + cardno + '\'' +
                ", balance=" + balance +
                ", opendate=" + opendate +
                ", name='" + name + '\'' +
                '}';
    }
}
